<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html;CHARSET=ISO-8859-1" />
	<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/css/estilos.css" />
	<link type="text/css" rel="stylesheet" href="#{facesContext.externalContext.requestContextPath}/css/defaultPrimefaces.css" />
	<ui:insert name="cssImports" />
	<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/javascript/jquery-1.3.2.js"></script>
	<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/javascript/jquery.meio.mask.js"></script>
	<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/javascript/utils.js"></script>
	<script type="text/javascript" src="#{facesContext.externalContext.requestContextPath}/javascript/primefaces-locale.js"></script>
	<ui:insert name="jsImports" />
	<title>MKMTS - MK Manager Team System</title>
</h:head>

<h:body onload="loadMasksJQuery();">
<f:loadBundle basename="br.com.mkmts.view.bundle.Messages" var="msgs" />
	<div id="header">
		<h:panelGroup rendered="#{!empty request.userPrincipal.name}">
			<div id="user_title" align="right">
			</div>
		</h:panelGroup>
	</div>

	
	<div id="main_body" align="left" >
		<div id="menu_bar">
			<ui:include src="../content/menu.xhtml"/> 								 
		</div>
		<div id="body_content">
				<h:form id="formGlobal" enctype="#{formMultipart}">
					<div id="beadcrumBar">
						<ui:insert name="breadcrumb" />
					</div>
					<div id="main_title" align="center">
						<h1 class="portal_titulo"> <h:outputText value="#{titulo}" /> </h1>
					</div>
					
					<p:growl id="messagesGlobal" globalOnly="true" escape="false" />
					
					<p:dialog modal="true"  widgetVar="statusDialog" draggable="false" resizable="false" closable="false">  
					    <p:graphicImage value="/images/ajaxloadingbar.gif" />  
					</p:dialog>  
					
					<ui:insert name="body_content" />
				</h:form>

			<h:form id="formDialog" enctype="#{formMultipart}">
				<p:growl id="messagesDialog" globalOnly="true" escape="false" />
				<ui:insert name="dialog" />
			</h:form>
			<h:form id="formDialog2" enctype="#{formMultipart}">
				<p:growl id="messagesDialog2" globalOnly="true" escape="false" />
				<ui:insert name="dialog2" />
			</h:form>			
		</div>
	</div>
	
</h:body>
</html>